using System;
using System.Collections.Generic;
using System.Text;

namespace Money_Log_Mobile
{
    public class Transaction
    {
        public int TransactionID;
        public string Name;
        public double Amount;
        public DateTime Date;
        public List<string> Categories;
        public override string ToString()
        {
            string text = "";
            text += Date.ToString("dd MMM");
            text += "  ";
            text += Amount;
            text += "   :   ";
            text += Name;
            return text;
        }
    }
}
